package com.huaqing.manage.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.huaqing.common.annotation.Excel;
import com.huaqing.common.core.domain.BaseEntity;

/**
 * 菜品管理对象 dish
 * 
 * @author cdutTang
 * @date 2025-02-28
 */
public class Dish extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 菜品ID */
    private Long dishId;

    /** 菜品名称 */
    @Excel(name = "菜品名称")
    private String dishName;

    /** 分类 */
    @Excel(name = "分类")
    private Long categoryId;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 状态（0停售 1起售） */
    @Excel(name = "状态", readConverterExp = "0=停售,1=起售")
    private String status;

    /** 制作部门 */
    @Excel(name = "制作部门")
    private Long departmentId;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String image;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 分类名称 */
    @Excel(name = "分类名称")
    private String categoryName;
    
    /** 父分类ID */
    private Long parentCategoryId;
    
    /** 父分类名称 */
    @Excel(name = "父分类名称") 
    private String parentCategoryName;
    
    /** 部门名称 */
    @Excel(name = "部门名称")
    private String departmentName;

    public void setDishId(Long dishId) 
    {
        this.dishId = dishId;
    }

    public Long getDishId() 
    {
        return dishId;
    }
    public void setDishName(String dishName) 
    {
        this.dishName = dishName;
    }

    public String getDishName() 
    {
        return dishName;
    }
    public void setCategoryId(Long categoryId) 
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId() 
    {
        return categoryId;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }

    public void setParentCategoryId(Long parentCategoryId) 
    {
        this.parentCategoryId = parentCategoryId;
    }

    public Long getParentCategoryId() 
    {
        return parentCategoryId;
    }

    public void setParentCategoryName(String parentCategoryName) 
    {
        this.parentCategoryName = parentCategoryName;
    }

    public String getParentCategoryName() 
    {
        return parentCategoryName;
    }

    public void setDepartmentName(String departmentName) 
    {
        this.departmentName = departmentName;
    }

    public String getDepartmentName() 
    {
        return departmentName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dishId", getDishId())
            .append("dishName", getDishName())
            .append("categoryId", getCategoryId())
            .append("price", getPrice())
            .append("status", getStatus())
            .append("departmentId", getDepartmentId())
            .append("image", getImage())
            .append("description", getDescription())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("categoryName", getCategoryName())
            .append("parentCategoryId", getParentCategoryId())
            .append("parentCategoryName", getParentCategoryName())
            .append("departmentName", getDepartmentName())
            .toString();
    }
}
